#define _CRT_SECURE_NO_WARNINGS 1
#include<time.h>
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>

typedef int type;
void TopKey(type* arr, int keysize, int arrsize);